import request from "@/utils/request.js"
// 1.登录
export const login = (data)=>request({
    url:"/api/auth/login",
    method:"POST",
    data
})
// 2.注册:
export const registry = (data)=>request({
    url:"/api/auth/register",
    method:"POST",
    data
});
// 3.重置;
export const resetPwd = (data)=>request({
    method:"POST",
    url:"/api/auth/reset",
    data
})